<%--
    Document   : locations
    Created on : Jun 3, 2011, 9:48:36 PM
    Author     : Andrej Kuročenko <kurochenko@gmail.com>
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!--<fieldset> 
    <legend>Locations</legend> -->
    <c:if test="${not empty locations}" >
        <c:forEach var="location" items="${locations}" >
            <ul class="locations">
                <c:url value="/" var="locationUrl">
                    <c:param name="location"   value="${location.id}" />
                </c:url>
                <li><a href ="${locationUrl}">${location.name}</a></li>
            </ul>
        </c:forEach>
    </c:if>
<!--</fieldset>-->
